﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AutoBackupDatabase.DAL;
using AutoBackupDatabase.ENT;
using System.Data;

namespace AutoBackupDatabase.BLL
{
   public class AREABLL
    {
       private AREADAL areaDAL;
       public AREABLL()
       {
           areaDAL = new AREADAL();
       }

       public List<AREAENT> GetAllareaData()
       {
           return areaDAL.GetAllareaData();

       }
       public bool INSERTAREA(AREAENT ent)
       {

           return areaDAL.INSERTAREA(ent);

       }
       public bool UPDATEAREABYAREAID(AREAENT ent)
       {

           return areaDAL.UPDATEAREABYAREAID(ent);

       }
       public bool DELTELEAREABYAREAID(AREAENT ent)
       {

           return areaDAL.DELTELEAREABYAREAID(ent);

       }
    }
}
